Need some SSL help please.

Need some SSL help please.

am 06.08.2009 22:04:02 von Josh Gooding

--000e0cd47b26fa03e904707e9ede
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Greetings folks, I've ran into a little SSL snag here. Currently I have
Apache 2.2 and Tomcat 6.0 configured to run and talk to each other. It
seems to work even though I have ONE static page in the entire project for
right now.

What I want to do:

Run the Login.jsp through SSL, after successful login, drop the SSL. The
entire session doesn't need encrypted, only the login and password. I was
directed over here from the Tomcat Mailing list. I figured that I'd ask. I
am using the Tomcat's built in j_security_check to authenticate users
login's. I'm very new to SSL so please forgive me if I am asking some very
basic questions.

My question: Is it possible to do the above scenario? Is it practical? Am
I wasting my time on this if there is a better way of doing this?

Thank you.

- Josh

--000e0cd47b26fa03e904707e9ede
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Greetings folks, I've ran into a little SSL snag here.=A0 Currently I h=
ave Apache 2.2 and Tomcat 6.0 configured to run and talk to each other.=A0 =
It seems to work even though I have ONE static page in the entire project f=
or right now.


What I want to do:

Run the Login.jsp through SSL, after successf=
ul login, drop the SSL.=A0 The entire session doesn't need encrypted, o=
nly the login and password.=A0 I was directed over here from the Tomcat Mai=
ling list.=A0 I figured that I'd ask.=A0 I am using the Tomcat's bu=
ilt in j_security_check to authenticate users login's.=A0 I'm very =
new to SSL so please forgive me if I am asking some very basic questions. r>

My question:=A0 Is it possible to do the above scenario?=A0 Is it pract=
ical?=A0 Am I wasting my time on this if there is a better way of doing thi=
s?

Thank you.

- Josh


--000e0cd47b26fa03e904707e9ede--

Re: Need some SSL help please.

am 07.08.2009 07:48:58 von Krist van Besien

On Thu, Aug 6, 2009 at 10:04 PM, Josh Gooding wrote:

> Run the Login.jsp through SSL, after successful login, drop the SSL.

Why do you want to drop the SSL after logging in? It is a lot easier
to just run the whole site over https. This way all you need to do is
to configure SSL for your whole server.

Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Need some SSL help please.

am 07.08.2009 14:40:55 von Josh Gooding

--000e0cd518ec20af7a04708c8c57
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Thanks for the reply Krist,

Let me give you a little background on what I did (and still doing). I
created a video training software that is now internet based. Nothing
inside of the training needs to be across HTTPS, except the login page.
Client's said they would "like" to see it done. Which is were I am at right
now. I always thought that HTTPS is noticeably slower than regular HTTP,
which is why I would not want HTTPS on the entire site, since video and
graphics tend to be more bandwidth and CPU intensive.

In essence I am trying to keep the lag to as little as possible and only
encrypt what needs to be encrypted.

- Josh

On Fri, Aug 7, 2009 at 1:48 AM, Krist van Besien
wrote:

> On Thu, Aug 6, 2009 at 10:04 PM, Josh Gooding
> wrote:
>
> > Run the Login.jsp through SSL, after successful login, drop the SSL.
>
> Why do you want to drop the SSL after logging in? It is a lot easier
> to just run the whole site over https. This way all you need to do is
> to configure SSL for your whole server.
>
> Krist
>
>
> --
> krist.vanbesien@gmail.com
> krist@vanbesien.org
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--000e0cd518ec20af7a04708c8c57
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks for the reply Krist,

Let me give you a little background on =
what I did (and still doing).=A0 I created a video training software that i=
s now internet based.=A0 Nothing inside of the training needs to be across =
HTTPS, except the login page.=A0 Client's said they would "like&qu=
ot; to see it done.=A0 Which is were I am at right now.=A0 I always thought=
that HTTPS is noticeably slower than regular HTTP, which is why I would no=
t want HTTPS on the entire site, since video and graphics tend to be more b=
andwidth and CPU intensive.


In essence I am trying to keep the lag to as little as possible and onl=
y encrypt what needs to be encrypted.

- Josh

ail_quote">On Fri, Aug 7, 2009 at 1:48 AM, Krist van Besien r"><krist.vanbesien@gmail.c=
om
>
wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>On Thu, Aug 6, 2009 at 10:04 PM, Josh Gooding< oding@gmail.com">josh.gooding@gmail.com> wrote:




> Run the Login.jsp through SSL, after successful login, drop the SSL. r>


Why do you want to drop the SSL after logging in? It is a lot easier<=
br>
to just run the whole site over https. This way all you need to do is

to configure SSL for your whole server.



Krist





--

<=
br>


Bremgarten b. Bern, Switzerland

--

A: It reverses the normal flow of conversation.

Q: What's wrong with top-posting?

A: Top-posting.

Q: What's the biggest scourge on plain text email discussions?



------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--000e0cd518ec20af7a04708c8c57--

Re: Need some SSL help please.

am 07.08.2009 17:20:46 von Scott Gifford

Josh Gooding writes:

[...]

> Run the Login.jsp through SSL, after successful login, drop the SSL. The
> entire session doesn't need encrypted, only the login and password.

Sure, that's possible. The general strategy is to accept the username
and password on a secure connection, and if they are correct generate
a session ID which can be used for future authentication. You can
return this to the browser in a form or the URL (maybe in a cookie,
not sure if cookies can be passed between HTTP and HTTPS sites), and
the non-encrypted part of your application would just check that the
session ID is valid.

I don't know of an Apache module that will do this for you, and I
don't know anything about Tomcat, but at a high level that's a common
approach.

Hope this helps,

----Scott.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Need some SSL help please.

am 07.08.2009 17:27:35 von Mike - EMAIL IGNORED

On Fri, 07 Aug 2009 08:40:55 -0400, Josh Gooding wrote:

> Thanks for the reply Krist,
>
> Let me give you a little background on what I did (and still doing). I
> created a video training software that is now internet based. Nothing
> inside of the training needs to be across HTTPS, except the login page.
> Client's said they would "like" to see it done. Which is were I am at
> right now. I always thought that HTTPS is noticeably slower than
> regular HTTP, which is why I would not want HTTPS on the entire site,
> since video and graphics tend to be more bandwidth and CPU intensive.
>
> In essence I am trying to keep the lag to as little as possible and only
> encrypt what needs to be encrypted.
>
> - Josh
>
[...]

Please read my recent thread "excessive DNS slows httpd".
The bottom line: I recently introduced SSL to part of my
web site, and it slowed considerably. Using iptables
(on a Linux system),I blocked all DNS, and speed of
response is better than ever, 8 meg photo files
notwithstanding.

Additionally, I thought sign-in is encrypted even when
SSL is not in use. Is this not true?

Mike.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Re: Need some SSL help please.

am 07.08.2009 17:38:01 von Dan Poirier

On 08/07/2009 11:27 AM, Mike -- EMAIL IGNORED wrote:
> Additionally, I thought sign-in is encrypted even when
> SSL is not in use. Is this not true?
>

That is not true. Sign-in is not encrypted unless you use SSL.

--
Dan Poirier

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Re: Need some SSL help please.

am 07.08.2009 20:08:27 von Josh Gooding

--00163646d58e791b240470911fd2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

No, my understanding is login's weren't encrypted unless SSL was used.

Scott, I'm not a sysadmin, but does win2k3 server have something like
iptables? That MIGHT be a little more helpful, I'll have to research it
more, however, I still need to figure out how to drop SSL after the login
screen. Let me do some more digging around the internet.

The login password is encrypted with MD5 before checking the DB and stored
in the DB as an MD5 hash, so with that being said, is SSL even neccessary on
the login to the software?

Thank you again for all the responses and advice. It is highly appreciated.

- Josh

On Fri, Aug 7, 2009 at 11:27 AM, Mike -- EMAIL IGNORED <
m_d_berger_1900@yahoo.com> wrote:

> On Fri, 07 Aug 2009 08:40:55 -0400, Josh Gooding wrote:
>
> > Thanks for the reply Krist,
> >
> > Let me give you a little background on what I did (and still doing). I
> > created a video training software that is now internet based. Nothing
> > inside of the training needs to be across HTTPS, except the login page.
> > Client's said they would "like" to see it done. Which is were I am at
> > right now. I always thought that HTTPS is noticeably slower than
> > regular HTTP, which is why I would not want HTTPS on the entire site,
> > since video and graphics tend to be more bandwidth and CPU intensive.
> >
> > In essence I am trying to keep the lag to as little as possible and only
> > encrypt what needs to be encrypted.
> >
> > - Josh
> >
> [...]
>
> Please read my recent thread "excessive DNS slows httpd".
> The bottom line: I recently introduced SSL to part of my
> web site, and it slowed considerably. Using iptables
> (on a Linux system),I blocked all DNS, and speed of
> response is better than ever, 8 meg photo files
> notwithstanding.
>
> Additionally, I thought sign-in is encrypted even when
> SSL is not in use. Is this not true?
>
> Mike.
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--00163646d58e791b240470911fd2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

No, my understanding is login's weren't encrypted unless SSL was us=
ed.=A0

Scott, I'm not a sysadmin, but does win2k3 server have s=
omething like iptables?=A0 That MIGHT be a little more helpful, I'll ha=
ve to research it more, however, I still need to figure out how to drop SSL=
after the login screen.=A0 Let me do some more digging around the internet=
..


The login password is encrypted with MD5 before checking the DB and sto=
red in the DB as an MD5 hash, so with that being said, is SSL even neccessa=
ry on the login to the software?

Thank you again for all the respons=
es and advice.=A0 It is highly appreciated.


- Josh

On Fri, Aug 7, 2009 at 11:27 A=
M, Mike -- EMAIL IGNORED < _1900@yahoo.com">m_d_berger_1900@yahoo.com> wrote:
uote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 20=
4); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 07 Aug 2009 08:40:55 -0400, Josh Gooding wrote: r>


> Thanks for the reply Krist,

>

> Let me give you a little background on what I did (and still doing). =
=A0I

> created a video training software that is now internet based. =A0Nothi=
ng

> inside of the training needs to be across HTTPS, except the login page=
..

> Client's said they would "like" to see it done. =A0Which=
is were I am at

> right now. =A0I always thought that HTTPS is noticeably slower than >
> regular HTTP, which is why I would not want HTTPS on the entire site,<=
br>
> since video and graphics tend to be more bandwidth and CPU intensive.<=
br>
>

> In essence I am trying to keep the lag to as little as possible and on=
ly

> encrypt what needs to be encrypted.

>

> - Josh

>

[...]



Please read my recent thread "excessive DNS slows httpd".

The bottom line: I recently introduced SSL to part of my

web site, and it slowed considerably. =A0Using iptables

(on a Linux system),I blocked all DNS, and speed of

response is better than ever, 8 meg photo files

notwithstanding.



Additionally, I thought sign-in is encrypted even when

SSL is not in use. =A0Is this not true?



Mike.





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--00163646d58e791b240470911fd2--

Re: Re: Need some SSL help please.

am 07.08.2009 20:13:02 von Josh Gooding

--00163645824ee2e4150470912f12
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I had an idea... what about putting the domain in the configuration file and
doing a "hard" redirect upon proper authentication? Would this be
feasible? Doable in httpd?

On Fri, Aug 7, 2009 at 2:08 PM, Josh Gooding wrote:

> No, my understanding is login's weren't encrypted unless SSL was used.
>
> Scott, I'm not a sysadmin, but does win2k3 server have something like
> iptables? That MIGHT be a little more helpful, I'll have to research it
> more, however, I still need to figure out how to drop SSL after the login
> screen. Let me do some more digging around the internet.
>
> The login password is encrypted with MD5 before checking the DB and stored
> in the DB as an MD5 hash, so with that being said, is SSL even neccessary on
> the login to the software?
>
> Thank you again for all the responses and advice. It is highly
> appreciated.
>
> - Josh
>
>
> On Fri, Aug 7, 2009 at 11:27 AM, Mike -- EMAIL IGNORED <
> m_d_berger_1900@yahoo.com> wrote:
>
>> On Fri, 07 Aug 2009 08:40:55 -0400, Josh Gooding wrote:
>>
>> > Thanks for the reply Krist,
>> >
>> > Let me give you a little background on what I did (and still doing). I
>> > created a video training software that is now internet based. Nothing
>> > inside of the training needs to be across HTTPS, except the login page.
>> > Client's said they would "like" to see it done. Which is were I am at
>> > right now. I always thought that HTTPS is noticeably slower than
>> > regular HTTP, which is why I would not want HTTPS on the entire site,
>> > since video and graphics tend to be more bandwidth and CPU intensive.
>> >
>> > In essence I am trying to keep the lag to as little as possible and only
>> > encrypt what needs to be encrypted.
>> >
>> > - Josh
>> >
>> [...]
>>
>> Please read my recent thread "excessive DNS slows httpd".
>> The bottom line: I recently introduced SSL to part of my
>> web site, and it slowed considerably. Using iptables
>> (on a Linux system),I blocked all DNS, and speed of
>> response is better than ever, 8 meg photo files
>> notwithstanding.
>>
>> Additionally, I thought sign-in is encrypted even when
>> SSL is not in use. Is this not true?
>>
>> Mike.
>>
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>

--00163645824ee2e4150470912f12
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I had an idea... what about putting the domain in the configuration file an=
d doing a "hard" redirect upon proper authentication?=A0 Would th=
is be feasible?=A0 Doable in httpd?

On Fr=
i, Aug 7, 2009 at 2:08 PM, Josh Gooding < ilto:josh.gooding@gmail.com">josh.gooding@gmail.com> wrote: r>
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">No, my understand=
ing is login's weren't encrypted unless SSL was used.=A0

Sc=
ott, I'm not a sysadmin, but does win2k3 server have something like ipt=
ables?=A0 That MIGHT be a little more helpful, I'll have to research it=
more, however, I still need to figure out how to drop SSL after the login =
screen.=A0 Let me do some more digging around the internet.



The login password is encrypted with MD5 before checking the DB and sto=
red in the DB as an MD5 hash, so with that being said, is SSL even neccessa=
ry on the login to the software?

Thank you again for all the respons=
es and advice.=A0 It is highly appreciated.



- Josh


ail_quote">On Fri, Aug 7, 2009 at 11:27 AM, Mike -- EMAIL IGNORED =3D"ltr">< >m_d_berger_1900@yahoo.com> wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 07 Aug 2009 08:40:55 -0400, Josh Gooding wrote:



> Thanks for the reply Krist,

>

> Let me give you a little background on what I did (and still doing). =
=A0I

> created a video training software that is now internet based. =A0Nothi=
ng

> inside of the training needs to be across HTTPS, except the login page=
..

> Client's said they would "like" to see it done. =A0Which=
is were I am at

> right now. =A0I always thought that HTTPS is noticeably slower than >
> regular HTTP, which is why I would not want HTTPS on the entire site,<=
br>
> since video and graphics tend to be more bandwidth and CPU intensive.<=
br>
>

> In essence I am trying to keep the lag to as little as possible and on=
ly

> encrypt what needs to be encrypted.

>

> - Josh

>

[...]



Please read my recent thread "excessive DNS slows httpd".

The bottom line: I recently introduced SSL to part of my

web site, and it slowed considerably. =A0Using iptables

(on a Linux system),I blocked all DNS, and speed of

response is better than ever, 8 meg photo files

notwithstanding.



Additionally, I thought sign-in is encrypted even when

SSL is not in use. =A0Is this not true?



Mike.





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.=
org


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org








--00163645824ee2e4150470912f12--

Re: Need some SSL help please.

am 07.08.2009 23:47:40 von Mike - EMAIL IGNORED

On Fri, 07 Aug 2009 14:08:27 -0400, Josh Gooding wrote:

> No, my understanding is login's weren't encrypted unless SSL was used.
>
> Scott, I'm not a sysadmin, but does win2k3 server have something like
> iptables? That MIGHT be a little more helpful, I'll have to research it
> more, however, I still need to figure out how to drop SSL after the
> login screen. Let me do some more digging around the internet.
>
> The login password is encrypted with MD5 before checking the DB and
> stored in the DB as an MD5 hash, so with that being said, is SSL even
> neccessary on the login to the software?
>
> Thank you again for all the responses and advice. It is highly
> appreciated.
>
> - Josh
>
[...]

I'm not sure I would block DNS on a Windows system, certainly
if it is doing anything else but being a server. But then
I would not use a Windows system for a server.

I suspect that what you want to do can be accomplished
with mod_ssl, mod_rewrite, and .
I don't see my way right to it, but, for example,
RewriteCond %{REMOTE_USER} !^.+$
RewriteRule $.*$ - [F]
or some such thing properly placed might be useful.

Detailed tutorials for these capabilities can be found on
the Apache web site. Some study would be required.

HTH.
Mike.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Re: Need some SSL help please.

am 08.08.2009 02:46:35 von Josh Gooding

--000e0cd483bc551d39047096afba
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Mike,

If it was up to me, I wouldn't use a Windows based server either, however,
what the client bought is what I had to use. KWIM?
I can't block DNS on this server due to it having a .com tied to it. I
looked this afternoon and no dice. I can look into it more in depth on the
httpd site. What a perplexing thing I'm trying to do.

- Josh


On Fri, Aug 7, 2009 at 5:47 PM, Mike -- EMAIL IGNORED <
m_d_berger_1900@yahoo.com> wrote:

> On Fri, 07 Aug 2009 14:08:27 -0400, Josh Gooding wrote:
>
> > No, my understanding is login's weren't encrypted unless SSL was used.
> >
> > Scott, I'm not a sysadmin, but does win2k3 server have something like
> > iptables? That MIGHT be a little more helpful, I'll have to research it
> > more, however, I still need to figure out how to drop SSL after the
> > login screen. Let me do some more digging around the internet.
> >
> > The login password is encrypted with MD5 before checking the DB and
> > stored in the DB as an MD5 hash, so with that being said, is SSL even
> > neccessary on the login to the software?
> >
> > Thank you again for all the responses and advice. It is highly
> > appreciated.
> >
> > - Josh
> >
> [...]
>
> I'm not sure I would block DNS on a Windows system, certainly
> if it is doing anything else but being a server. But then
> I would not use a Windows system for a server.
>
> I suspect that what you want to do can be accomplished
> with mod_ssl, mod_rewrite, and .
> I don't see my way right to it, but, for example,
> RewriteCond %{REMOTE_USER} !^.+$
> RewriteRule $.*$ - [F]
> or some such thing properly placed might be useful.
>
> Detailed tutorials for these capabilities can be found on
> the Apache web site. Some study would be required.
>
> HTH.
> Mike.
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--000e0cd483bc551d39047096afba
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Mike,

If it was up to me, I wouldn't use a Windows based server=
either, however, what the client bought is what I had to use.=A0 KWIM?
=
I can't block DNS on this server due to it having a .com tied to it. I =
looked this afternoon and no dice.=A0 I can look into it more in depth on t=
he httpd site.=A0 What a perplexing thing I'm trying to do.


- Josh


On Fri, Aug 7, 2009 at 5:4=
7 PM, Mike -- EMAIL IGNORED < ger_1900@yahoo.com">m_d_berger_1900@yahoo.com> wrote:
ckquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204,=
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 07 Aug 2009 14:08:27 -0400, Josh Gooding wrote: r>


> No, my understanding is login's weren't encrypted unless SSL w=
as used.

>

> Scott, I'm not a sysadmin, but does win2k3 server have something l=
ike

> iptables? =A0That MIGHT be a little more helpful, I'll have to res=
earch it

> more, however, I still need to figure out how to drop SSL after the >
> login screen. =A0Let me do some more digging around the internet.

>

> The login password is encrypted with MD5 before checking the DB and >
> stored in the DB as an MD5 hash, so with that being said, is SSL even<=
br>
> neccessary on the login to the software?

>

> Thank you again for all the responses and advice. =A0It is highly

> appreciated.

>

> - Josh

>

[...]



I'm not sure I would block DNS on a Windows system, certainly

if it is doing anything else but being a server. =A0But then

I would not use a Windows system for a server.



I suspect that what you want to do can be accomplished

with mod_ssl, mod_rewrite, <Directory> and <VirtualHost>.

I don't see my way right to it, but, for example,

=A0 RewriteCond %{REMOTE_USER} !^.+$

=A0 RewriteRule $.*$ - [F]

or some such thing properly placed might be useful.



Detailed tutorials for these capabilities can be found on

the Apache web site. =A0Some study would be required.



HTH.

Mike.





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--000e0cd483bc551d39047096afba--

Re: Need some SSL help please.

am 08.08.2009 03:59:34 von Mike - EMAIL IGNORED

On Fri, 07 Aug 2009 20:46:35 -0400, Josh Gooding wrote:

> Mike,
>
> If it was up to me, I wouldn't use a Windows based server either,
> however, what the client bought is what I had to use. KWIM? I can't
> block DNS on this server due to it having a .com tied to it. I looked
> this afternoon and no dice. I can look into it more in depth on the
> httpd site. What a perplexing thing I'm trying to do.
>
> - Josh
>
[...]

I think the Rewrite example I gave is like:
Require valid-user

I still do not see the way but note:
1 . I think t is possible to construct a directory tree where
the root uses SSL but the others do not.
2. Maybe non-SSL directories can be made to reject in there
is no valid user, but not with a login request.
3. The root directory would respond with the normal login.
This is how I would start. It places a restriction on the user to
first access the root directory.

FWIW, this is all I can think of now. It might require the use of
environment variables. (See Apache "Access Control").

This is an interesting problem but after this post, I go on
travel and will have little or no Internet access for a week.
I will look back when I return, hoping to see what was finally
done.

Mike.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Need some SSL help please.

am 08.08.2009 04:19:31 von Mike - EMAIL IGNORED

On Sat, 08 Aug 2009 01:59:34 +0000, Mike -- EMAIL IGNORED wrote:

> On Fri, 07 Aug 2009 20:46:35 -0400, Josh Gooding wrote:
>
>> Mike,
>>
>> If it was up to me, I wouldn't use a Windows based server either,
>> however, what the client bought is what I had to use. KWIM? I can't
>> block DNS on this server due to it having a .com tied to it. I looked
>> this afternoon and no dice. I can look into it more in depth on the
>> httpd site. What a perplexing thing I'm trying to do.
>>
>> - Josh
>>
> [...]
>
> I think the Rewrite example I gave is like:
> Require valid-user
>
> I still do not see the way but note:
> 1 . I think t is possible to construct a directory tree where
> the root uses SSL but the others do not.
> 2. Maybe non-SSL directories can be made to reject in there
> is no valid user, but not with a login request.
> 3. The root directory would respond with the normal login.
> This is how I would start. It places a restriction on the user to first
> access the root directory.
>
> FWIW, this is all I can think of now. It might require the use of
> environment variables. (See Apache "Access Control").
>
> This is an interesting problem but after this post, I go on travel and
> will have little or no Internet access for a week. I will look back when
> I return, hoping to see what was finally done.
>
> Mike.
>

One additional but important point. When things slowed substantially
after adding SSL to part of my tree, everything slowed, even the parts
that were not doing SSL at all. Again, the slowness was caused by the
DNS, not the encryption. This was verified with WireShark.

Long ago I learned that it is often cheaper to buy another piece
of hardware, than to solve a subtle problem with software. In
this case, a Linux box wherein you could easily block DNS is probably
the cheapest and most user-friendly solution.

Bedtime at -0400.

HTH.
Mike.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Need some SSL help please.

am 10.08.2009 07:26:31 von Krist van Besien

On Fri, Aug 7, 2009 at 2:40 PM, Josh Gooding wrote:
> I always thought that HTTPS is noticeably slower than regular HTTP,
> which is why I would not want HTTPS on the entire site, since video and
> graphics tend to be more bandwidth and CPU intensive.

In a time when most computers run 99% idle 90% of the time I don't
worry about performance anymore. Nowadays the cheapest solution to any
performance problem is to buy a bigger server.

Krist

--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Re: Need some SSL help please.

am 10.08.2009 10:41:07 von Matus UHLAR - fantomas

On 07.08.09 15:27, Mike -- EMAIL IGNORED wrote:
> Please read my recent thread "excessive DNS slows httpd".
> The bottom line: I recently introduced SSL to part of my
> web site, and it slowed considerably. Using iptables
> (on a Linux system),I blocked all DNS, and speed of
> response is better than ever, 8 meg photo files
> notwithstanding.

It would be much better to configure apache/applications not to use DNS than
to block it. Also, it highly depends on type of blocking - using DROP rules
will cause apps to run even slower if any part of DNS works...

--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Re: Need some SSL help please.

am 11.08.2009 07:50:17 von Krist van Besien

On Sat, Aug 8, 2009 at 4:19 AM, Mike -- EMAIL
IGNORED wrote:

> One additional but important point. =A0When things slowed substantially
> after adding SSL to part of my tree, everything slowed, even the parts
> that were not doing SSL at all. =A0Again, the slowness was caused by the
> DNS, not the encryption. =A0This was verified with WireShark.

Enabling SSL in itself should not lead to increased DNS traffic from
Apache. You might have made other changes that caused Apache to do
name lookups.

Krist

--=20
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Need some SSL help please.

am 23.08.2009 02:24:45 von Mike - EMAIL IGNORED

On Tue, 11 Aug 2009 07:50:17 +0200, Krist van Besien wrote:

> On Sat, Aug 8, 2009 at 4:19 AM, Mike -- EMAIL
> IGNORED wrote:
>
>> One additional but important point.  When things slowed substantially
>> after adding SSL to part of my tree, everything slowed, even the parts
>> that were not doing SSL at all.  Again, the slowness was caused by the
>> DNS, not the encryption.  This was verified with WireShark.
>
> Enabling SSL in itself should not lead to increased DNS traffic from
> Apache. You might have made other changes that caused Apache to do name
> lookups.
>
> Krist
>
[...]

Unfortunately, I did make numerous changes. While I do not
see that they should increase DNS, I could easily be
missing something. See my new suggestion I am about to post.

Mike.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org